package com.bawei.a2010douyin.ui.shopping;

import com.bawei.a2010douyin.base.mvp.BaseModel;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.GoodsEntity;

import java.util.List;

import io.reactivex.Observable;

public class ShoppingModel extends BaseModel implements ShoppingContract.IShoppingModel {
    @Override
    public Observable<BaseResponse<List<GoodsEntity>>> goods(int category_id, int currentPage, int pageSize) {
        return mApiServer.goods(category_id, currentPage, pageSize);
    }
}
